﻿/******************************************************************
** 文 件 名: Bu_AuditTable.cs
** Copyright (c) 2010-2012 Honestysoft (GuangZhou) Co.,LTD
** 创 建 人: 此代码由生成器自动生成
** 创建日期: 2012-6-4 14:16:44
** 描    述: 内部审核作业表的实体类
** 版    本: 2.0.0.0
** 修改描述:
** 修 改 人:
** 修改日期:
******************************************************************/
using System;
using System.Data;
using Honestysoft.BaseObject;

namespace Honestysoft.Financing.Model
{
	[Serializable]
	[Table("Bu_AuditTable","ID")]
	public partial class Bu_AuditTable : IEntity
    {			
		/// <summary>
        /// 标识
        /// </summary>
		[Column("ID", DbType.AnsiString, 36, false)]
		public string ID
		{
			get;
			set;
		}
		/// <summary>
        /// 年度
        /// </summary>
		[Column("TheYear", DbType.Int32, 4, false)]
		public int TheYear
		{
			get;
			set;
		}
		/// <summary>
        /// 项目标识
        /// </summary>
		[Column("ProjectID", DbType.AnsiString, 36, false)]
		public string ProjectID
		{
			get;
			set;
		}
		/// <summary>
        /// 项目代码
        /// </summary>
		[Column("ProjectCode", DbType.AnsiString, 200, false)]
		public string ProjectCode
		{
			get;
			set;
		}
		/// <summary>
        /// 项目名称
        /// </summary>
		[Column("ProjectName", DbType.AnsiString, 200, false)]
		public string ProjectName
		{
			get;
			set;
		}
		/// <summary>
        /// 项目类别
        /// </summary>
		[Column("ProjectCategory", DbType.AnsiString, 8, false)]
		public string ProjectCategory
		{
			get;
			set;
		}
		/// <summary>
        /// 项目单位标识
        /// </summary>
		[Column("Owner971", DbType.AnsiString, 36, false)]
		public string Owner971
		{
			get;
			set;
		}
		/// <summary>
        /// 项目单位
        /// </summary>
		[Column("Owner971Name", DbType.AnsiString, 200, false)]
		public string Owner971Name
		{
			get;
			set;
		}
		/// <summary>
        /// 建设单位标识
        /// </summary>
		[Column("Owner", DbType.AnsiString, 36, false)]
		public string Owner
		{
			get;
			set;
		}
		/// <summary>
        /// 建设单位
        /// </summary>
		[Column("OwnerName", DbType.AnsiString, 200, false)]
		public string OwnerName
		{
			get;
			set;
		}
		/// <summary>
        /// 表格类型(A/B)
        /// </summary>
		[Column("TableType", DbType.AnsiString, 10, false)]
		public string TableType
		{
			get;
			set;
		}
		/// <summary>
        /// 合同标识
        /// </summary>
		[Column("ContractID", DbType.AnsiString, 36, false)]
		public string ContractID
		{
			get;
			set;
		}
		/// <summary>
        /// 合同编号
        /// </summary>
		[Column("ContractCode", DbType.AnsiString, 200, false)]
		public string ContractCode
		{
			get;
			set;
		}
		/// <summary>
        /// 合同名称
        /// </summary>
		[Column("ContractName", DbType.AnsiString, 200, false)]
		public string ContractName
		{
			get;
			set;
		}
		/// <summary>
        /// 合同类别
        /// </summary>
		[Column("ContractCategory", DbType.AnsiString, 8, false)]
		public string ContractCategory
		{
			get;
			set;
		}
		/// <summary>
        /// 施工单位标识
        /// </summary>
		[Column("Contractor", DbType.AnsiString, 36, false)]
		public string Contractor
		{
			get;
			set;
		}
		/// <summary>
        /// 施工单位
        /// </summary>
		[Column("ContractorName", DbType.AnsiString, 200, false)]
		public string ContractorName
		{
			get;
			set;
		}
		/// <summary>
        /// 开户银行
        /// </summary>
		[Column("Bank", DbType.AnsiString, 200, true)]
		public string Bank
		{
			get;
			set;
		}
		/// <summary>
        /// 收款账号
        /// </summary>
		[Column("BankAccount", DbType.AnsiString, 200, true)]
		public string BankAccount
		{
			get;
			set;
		}
		/// <summary>
        /// 流水号（相对合同标示是第几次申请）
        /// </summary>
		[Column("SortNo", DbType.Int32, 4, false)]
		public int SortNo
		{
			get;
			set;
		}
		/// <summary>
        /// 编号
        /// </summary>
		[Column("Code", DbType.AnsiString, 200, false)]
		public string Code
		{
			get;
			set;
		}
		/// <summary>
        /// 资料接收时间
        /// </summary>
		[Column("DocRecTime", DbType.DateTime, 8, true)]
		public DateTime? DocRecTime
		{
			get;
			set;
		}
		/// <summary>
        /// 批次标识
        /// </summary>
		[Column("BatchID", DbType.AnsiString, 36, false)]
		public string BatchID
		{
			get;
			set;
		}
		/// <summary>
        /// 批次
        /// </summary>
		[Column("BatchNo", DbType.Int32, 4, false)]
		public int BatchNo
		{
			get;
			set;
		}
		/// <summary>
        /// 本笔所属笔数(表格是第几笔)
        /// </summary>
		[Column("TableNo", DbType.Int32, 4, false)]
		public int TableNo
		{
			get;
			set;
		}
		/// <summary>
        /// 本合同本笔申请资金金额：申请表回执中的金额
        /// </summary>
		[Column("Amount_DocRec", DbType.Decimal, 13, false)]
		public decimal Amount_DocRec
		{
			get;
			set;
		}
		/// <summary>
        /// 本合同本笔申请资金金额：审核员审核金额
        /// </summary>
		[Column("Amount_F", DbType.Decimal, 13, false)]
		public decimal Amount_F
		{
			get;
			set;
		}
		/// <summary>
        /// 是否已输入过审核金额
        /// </summary>
		[Column("IsInputAmount_F", DbType.Boolean, 1, false)]
		public bool IsInputAmount_F
		{
			get;
			set;
		}
		/// <summary>
        /// 本合同本笔申请资金金额：审核员复核金额
        /// </summary>
		[Column("Amount_S", DbType.Decimal, 13, false)]
		public decimal Amount_S
		{
			get;
			set;
		}
		/// <summary>
        /// 是否已输入过复核金额
        /// </summary>
		[Column("IsInputAmount_S", DbType.Boolean, 1, false)]
		public bool IsInputAmount_S
		{
			get;
			set;
		}
		/// <summary>
        /// 项目资本金到位金额(如果属于拆分项目，则是所有分项目的合计)
        /// </summary>
		[Column("Amount_ZBJ", DbType.Decimal, 13, false)]
		public decimal Amount_ZBJ
		{
			get;
			set;
		}
		/// <summary>
        /// 所有分项目资本金到位金额
        /// </summary>
		[Column("Amount_SumZBJ", DbType.Decimal, 13, false)]
		public decimal Amount_SumZBJ
		{
			get;
			set;
		}
		/// <summary>
        /// 项目新增资本金
        /// </summary>
		[Column("Amount_ZBJ_Add", DbType.Decimal, 13, false)]
		public decimal Amount_ZBJ_Add
		{
			get;
			set;
		}
		/// <summary>
        /// 所有分项目新增资本金合计
        /// </summary>
		[Column("Amount_SumZBJ_Add", DbType.Decimal, 13, false)]
		public decimal Amount_SumZBJ_Add
		{
			get;
			set;
		}
		/// <summary>
        /// 项目总投资
        /// </summary>
		[Column("Amount_GS", DbType.Decimal, 13, false)]
		public decimal Amount_GS
		{
			get;
			set;
		}
		/// <summary>
        /// 所有分项目总投资
        /// </summary>
		[Column("Amount_SumGS", DbType.Decimal, 13, false)]
		public decimal Amount_SumGS
		{
			get;
			set;
		}
		/// <summary>
        /// 前期财政累计安排投资
        /// </summary>
		[Column("Amount_CZLJ", DbType.Decimal, 13, false)]
		public decimal Amount_CZLJ
		{
			get;
			set;
		}
		/// <summary>
        /// 所有分项目前期财政累计安排投资
        /// </summary>
		[Column("Amount_SumCZLJ", DbType.Decimal, 13, false)]
		public decimal Amount_SumCZLJ
		{
			get;
			set;
		}
		/// <summary>
        /// 本项目国开行贷款额度Q
        /// </summary>
		[Column("Amount_GKLoan", DbType.Decimal, 13, false)]
		public decimal Amount_GKLoan
		{
			get;
			set;
		}
		/// <summary>
        /// 所有分项目国开行贷款额度
        /// </summary>
		[Column("Amount_SumGKLoan", DbType.Decimal, 13, false)]
		public decimal Amount_SumGKLoan
		{
			get;
			set;
		}
		/// <summary>
        /// 项目贷款额度
        /// </summary>
		[Column("Amount_ProjLoan", DbType.Decimal, 13, false)]
		public decimal Amount_ProjLoan
		{
			get;
			set;
		}
		/// <summary>
        /// 所有分项目贷款额度合计
        /// </summary>
		[Column("Amount_SumProjLoan", DbType.Decimal, 13, false)]
		public decimal Amount_SumProjLoan
		{
			get;
			set;
		}
		/// <summary>
        /// 本项目的市投扣公司融资额度R（按971文件中2011年融资计划及以后年度融资之和）（如果是拆分项目，则是所有分项目之和）
        /// </summary>
		[Column("Amount_PSTK", DbType.Decimal, 13, false)]
		public decimal Amount_PSTK
		{
			get;
			set;
		}
		/// <summary>
        /// 所有分项目的市投扣公司融资额度
        /// </summary>
		[Column("Amount_SumPSTK", DbType.Decimal, 13, false)]
		public decimal Amount_SumPSTK
		{
			get;
			set;
		}
		/// <summary>
        /// 合同总价金额（附件5：工程款支付汇总表）S
        /// </summary>
		[Column("Amount_C", DbType.Decimal, 13, false)]
		public decimal Amount_C
		{
			get;
			set;
		}
		/// <summary>
        /// 合同总价初审输入金额
        /// </summary>
		[Column("Amount_C_F", DbType.Decimal, 13, false)]
		public decimal Amount_C_F
		{
			get;
			set;
		}
		/// <summary>
        /// 是否已输入合同总价初审输入金额
        /// </summary>
		[Column("IsInputAmount_C_F", DbType.Boolean, 1, false)]
		public bool IsInputAmount_C_F
		{
			get;
			set;
		}
		/// <summary>
        /// 合同总价复核输入金额
        /// </summary>
		[Column("Amount_C_S", DbType.Decimal, 13, false)]
		public decimal Amount_C_S
		{
			get;
			set;
		}
		/// <summary>
        /// 是否已输入合同总价复核输入金额
        /// </summary>
		[Column("IsInputAmount_C_S", DbType.Boolean, 1, false)]
		public bool IsInputAmount_C_S
		{
			get;
			set;
		}
		/// <summary>
        /// 前期该合同项下累计拨付金额（附件5监理意见）
        /// </summary>
		[Column("TAmount_C_A_F", DbType.Decimal, 13, false)]
		public decimal TAmount_C_A_F
		{
			get;
			set;
		}
		/// <summary>
        /// 是否已输入前期该合同项下累计拨付金额
        /// </summary>
		[Column("IsInputTAmount_C_A_F", DbType.Boolean, 1, false)]
		public bool IsInputTAmount_C_A_F
		{
			get;
			set;
		}
		/// <summary>
        /// 前期该合同项下累计拨付金额复核
        /// </summary>
		[Column("TAmount_C_A_S", DbType.Decimal, 13, false)]
		public decimal TAmount_C_A_S
		{
			get;
			set;
		}
		/// <summary>
        /// 是否已输入前期该合同项下累计拨付金额复核
        /// </summary>
		[Column("IsInputTAmount_C_A_S", DbType.Boolean, 1, false)]
		public bool IsInputTAmount_C_A_S
		{
			get;
			set;
		}
		/// <summary>
        /// 创建日期
        /// </summary>
		[Column("CreateTime", DbType.DateTime, 8, false)]
		public DateTime CreateTime
		{
			get;
			set;
		}
		/// <summary>
        /// 创建人
        /// </summary>
		[Column("Creator", DbType.AnsiString, 36, false)]
		public string Creator
		{
			get;
			set;
		}
		/// <summary>
        /// 创建人姓名
        /// </summary>
		[Column("CreatorName", DbType.AnsiString, 200, false)]
		public string CreatorName
		{
			get;
			set;
		}
		/// <summary>
        /// 初审日期
        /// </summary>
		[Column("FirstDate", DbType.DateTime, 8, true)]
		public DateTime? FirstDate
		{
			get;
			set;
		}
		/// <summary>
        /// 是否已拨付
        /// </summary>
		[Column("IsBF", DbType.Boolean, 1, false)]
		public bool IsBF
		{
			get;
			set;
		}
		/// <summary>
        /// 实拨日期
        /// </summary>
		[Column("BFDate", DbType.DateTime, 8, true)]
		public DateTime? BFDate
		{
			get;
			set;
		}
		/// <summary>
        /// 实拨金额
        /// </summary>
		[Column("BFAmount", DbType.Decimal, 13, false)]
		public decimal BFAmount
		{
			get;
			set;
		}
		/// <summary>
        /// 业务状态
        /// </summary>
		[Column("BuStatus", DbType.AnsiString, 6, false)]
		public string BuStatus
		{
			get;
			set;
		}
		/// <summary>
        /// 是否已放款
        /// </summary>
		[Column("IsGive", DbType.Boolean, 1, false)]
		public bool IsGive
		{
			get;
			set;
		}
		/// <summary>
        /// 放款日期
        /// </summary>
		[Column("GiveDate", DbType.DateTime, 8, true)]
		public DateTime? GiveDate
		{
			get;
			set;
		}
		/// <summary>
        /// 放款金额
        /// </summary>
		[Column("GiveAmount", DbType.Decimal, 13, false)]
		public decimal GiveAmount
		{
			get;
			set;
		}
		/// <summary>
        /// 项目编号
        /// </summary>
		[Column("ProjectSN", DbType.AnsiString, 200, false)]
		public string ProjectSN
		{
			get;
			set;
		}
		/// <summary>
        /// 委托代建单位
        /// </summary>
		[Column("DOwnerName", DbType.AnsiString, 200, true)]
		public string DOwnerName
		{
			get;
			set;
		}
		/// <summary>
        /// 委托收款单位
        /// </summary>
		[Column("DBankCompanyName", DbType.AnsiString, 200, true)]
		public string DBankCompanyName
		{
			get;
			set;
		}
		/// <summary>
        /// 审核员输入回执金额
        /// </summary>
		[Column("Amount_DocRec_F", DbType.Decimal, 13, false)]
		public decimal Amount_DocRec_F
		{
			get;
			set;
		}
		/// <summary>
        /// 审核员是否已输入回执金额
        /// </summary>
		[Column("IsInputAmount_DocRec_F", DbType.Boolean, 1, false)]
		public bool IsInputAmount_DocRec_F
		{
			get;
			set;
		}
		/// <summary>
        /// 复核员输入回执金额
        /// </summary>
		[Column("Amount_DocRec_S", DbType.Decimal, 13, false)]
		public decimal Amount_DocRec_S
		{
			get;
			set;
		}
		/// <summary>
        /// 复核员是否已输入回执金额
        /// </summary>
		[Column("IsInputAmount_DocRec_S", DbType.Boolean, 1, false)]
		public bool IsInputAmount_DocRec_S
		{
			get;
			set;
		}
    }
}	
